package packml;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Simulator extends Packmlhandler implements Runnable{
public volatile String s;
	
	public void run(){
	
		while(true){
		sim();	
		}
		}
	
	 Simulator(){
		
	}
	 public synchronized void delay(int i) {
			try {
				wait(i);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	 
		 public void sim(){
			
			
						 
			try{
				//delay(20000);
				//System.out.println("Enter ");
			    BufferedReader bufferRead = new BufferedReader(new InputStreamReader(System.in));
			    s = bufferRead.readLine();
			    receiveData = Integer.parseInt(s);
		 
			    System.out.println("\n"+receiveData);
			}
			catch(IOException e)
			{
				e.printStackTrace();
			}
		 
		  
			}
			}
		
	
	

